package cc.admin.common.sys.vo;

import lombok.Data;
/**
 * @author: ZhangHouYing
 * @date: 2021-12-16 9:00
 */
@Data
public class NameObject extends IdObject {

	private String name;

	public static NameObject newInstance(String id,String name){
		NameObject nameObject = new NameObject();
		nameObject.setId(id);
		nameObject.setName(name);
		return nameObject;
	}
}
